package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.StudentLossItem;
import cn.wolfcode.crm.query.StudentLossItemQueryObj;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentLossItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(StudentLossItem record);

    StudentLossItem selectByPrimaryKey(Long id);

    List<StudentLossItem> selectAll();

    int updateByPrimaryKey(StudentLossItem record);

    int queryForCount(StudentLossItemQueryObj qo);

    List<StudentLossItem> queryForList(StudentLossItemQueryObj qo);

    //设置审核人员
    void updateAuditUser(@Param("auditUserId") Long auditUserId, @Param("stuId")Long stuId);
    //修改审核状态
    void updateAuditState(Long id);
}